package com.cxria.pattern.intermediary

abstract class AbstractMediator {

    protected Purchase purchase
    protected Sale sale
    protected Stock stock

    AbstractMediator() {
        purchase = new Purchase()
        sale = new Sale()
        stock = new Stock()
    }

    abstract void execute(String str, Object... objects)

}